.class public Les/ud0;
.super Les/wd0;
.source "NamedPipe.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/ud0$a;
    }
.end annotation


# direct methods
.method public constructor <init>(Lcom/hierynomus/smbj/common/c;Les/xd0;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Les/wd0;-><init>(Lcom/hierynomus/smbj/common/c;Les/xd0;)V

    return-void
.end method

.method private static a(Les/xd0;Lcom/hierynomus/smbj/smb2/messages/SMB2IoctlRequest$ControlCode;Lcom/hierynomus/smbj/smb2/a;[BZ)Lcom/hierynomus/smbj/smb2/messages/SMB2IoctlRequest;
    .locals 12

    .line 27
    invoke-virtual {p0}, Les/xd0;->a()Les/qd0;

    move-result-object v0

    .line 28
    new-instance v11, Lcom/hierynomus/smbj/smb2/messages/SMB2IoctlRequest;

    .line 29
    invoke-virtual {v0}, Les/qd0;->a()Lcom/hierynomus/smbj/connection/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hierynomus/smbj/connection/a;->i()Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    move-result-object v2

    .line 30
    invoke-virtual {v0}, Les/qd0;->b()J

    move-result-wide v3

    invoke-virtual {p0}, Les/xd0;->b()J

    move-result-wide v5

    move-object v1, v11

    move-object v7, p1

    move-object v8, p2

    move-object v9, p3

    move/from16 v10, p4

    invoke-direct/range {v1 .. v10}, Lcom/hierynomus/smbj/smb2/messages/SMB2IoctlRequest;-><init>(Lcom/hierynomus/smbj/smb2/SMB2Dialect;JJLcom/hierynomus/smbj/smb2/messages/SMB2IoctlRequest$ControlCode;Lcom/hierynomus/smbj/smb2/a;[BZ)V

    return-object v11
.end method

.method private a(Les/ud0$a;[BLjava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;Lcom/hierynomus/smbj/smb2/SMB2CreateDisposition;Ljava/util/EnumSet;)[B
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/ud0$a;",
            "[B",
            "Ljava/util/EnumSet<",
            "Lcom/hierynomus/msdtyp/AccessMask;",
            ">;",
            "Ljava/util/EnumSet<",
            "Lcom/hierynomus/msfscc/FileAttributes;",
            ">;",
            "Ljava/util/EnumSet<",
            "Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;",
            ">;",
            "Lcom/hierynomus/smbj/smb2/SMB2CreateDisposition;",
            "Ljava/util/EnumSet<",
            "Lcom/hierynomus/smbj/smb2/SMB2CreateOptions;",
            ">;)[B"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/smbj/transport/TransportException;,
            Lcom/hierynomus/smbj/common/SMBApiException;
        }
    .end annotation

    .line 18
    iget-object p3, p0, Les/wd0;->a:Les/xd0;

    invoke-virtual {p3}, Les/xd0;->a()Les/qd0;

    move-result-object p3

    .line 19
    invoke-virtual {p3}, Les/qd0;->a()Lcom/hierynomus/smbj/connection/a;

    move-result-object p3

    .line 20
    invoke-virtual {p1}, Les/ud0$a;->a()Lcom/hierynomus/smbj/smb2/a;

    move-result-object p1

    .line 21
    iget-object p4, p0, Les/wd0;->a:Les/xd0;

    sget-object p5, Lcom/hierynomus/smbj/smb2/messages/SMB2IoctlRequest$ControlCode;->FSCTL_PIPE_TRANSCEIVE:Lcom/hierynomus/smbj/smb2/messages/SMB2IoctlRequest$ControlCode;

    const/4 p6, 0x1

    invoke-static {p4, p5, p1, p2, p6}, Les/ud0;->a(Les/xd0;Lcom/hierynomus/smbj/smb2/messages/SMB2IoctlRequest$ControlCode;Lcom/hierynomus/smbj/smb2/a;[BZ)Lcom/hierynomus/smbj/smb2/messages/SMB2IoctlRequest;

    move-result-object p1

    .line 22
    invoke-virtual {p3, p1}, Lcom/hierynomus/smbj/connection/a;->b(Lcom/hierynomus/smbj/smb2/d;)Ljava/util/concurrent/Future;

    move-result-object p1

    .line 23
    sget-object p2, Lcom/hierynomus/smbj/transport/TransportException;->Wrapper:Les/fd0;

    invoke-static {p1, p2}, Les/gd0;->a(Ljava/util/concurrent/Future;Les/fd0;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/hierynomus/smbj/smb2/messages/f;

    .line 24
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/d;->a()Lcom/hierynomus/smbj/smb2/c;

    move-result-object p2

    invoke-virtual {p2}, Lcom/hierynomus/smbj/smb2/c;->f()Lcom/hierynomus/mserref/NtStatus;

    move-result-object p2

    sget-object p3, Lcom/hierynomus/mserref/NtStatus;->STATUS_SUCCESS:Lcom/hierynomus/mserref/NtStatus;

    if-ne p2, p3, :cond_0

    .line 25
    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/messages/f;->c()[B

    move-result-object p1

    return-object p1

    .line 26
    :cond_0
    new-instance p2, Lcom/hierynomus/smbj/common/SMBApiException;

    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/d;->a()Lcom/hierynomus/smbj/smb2/c;

    move-result-object p1

    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/c;->f()Lcom/hierynomus/mserref/NtStatus;

    move-result-object p1

    const-string p3, "Ioctrl failed"

    invoke-direct {p2, p1, p3}, Lcom/hierynomus/smbj/common/SMBApiException;-><init>(Lcom/hierynomus/mserref/NtStatus;Ljava/lang/String;)V

    throw p2
.end method


# virtual methods
.method public a(Ljava/lang/String;)Les/ud0$a;
    .locals 9
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/smbj/transport/TransportException;,
            Lcom/hierynomus/smbj/common/SMBApiException;
        }
    .end annotation

    .line 1
    sget-object v0, Lcom/hierynomus/msdtyp/AccessMask;->SYNCHRONIZE:Lcom/hierynomus/msdtyp/AccessMask;

    const/16 v1, 0x8

    new-array v1, v1, [Lcom/hierynomus/msdtyp/AccessMask;

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->READ_CONTROL:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x0

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_WRITE_ATTRIBUTES:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x1

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_READ_ATTRIBUTES:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x2

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_WRITE_EA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x3

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_READ_EA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x4

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_APPEND_DATA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x5

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_WRITE_DATA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x6

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_READ_DATA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x7

    aput-object v2, v1, v3

    invoke-static {v0, v1}, Ljava/util/EnumSet;->of(Ljava/lang/Enum;[Ljava/lang/Enum;)Ljava/util/EnumSet;

    move-result-object v0

    .line 2
    sget-object v7, Lcom/hierynomus/smbj/smb2/SMB2CreateDisposition;->FILE_OPEN:Lcom/hierynomus/smbj/smb2/SMB2CreateDisposition;

    .line 3
    invoke-static {v0}, Les/ed0$a;->a(Ljava/util/Collection;)J

    move-result-wide v3

    sget-object v0, Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;->FILE_SHARE_DELETE:Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;

    sget-object v1, Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;->FILE_SHARE_WRITE:Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;

    sget-object v2, Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;->FILE_SHARE_READ:Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;

    .line 4
    invoke-static {v0, v1, v2}, Ljava/util/EnumSet;->of(Ljava/lang/Enum;Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;

    move-result-object v6

    sget-object v0, Lcom/hierynomus/smbj/smb2/SMB2CreateOptions;->FILE_NON_DIRECTORY_FILE:Lcom/hierynomus/smbj/smb2/SMB2CreateOptions;

    sget-object v1, Lcom/hierynomus/smbj/smb2/SMB2CreateOptions;->FILE_OPEN_NO_RECALL:Lcom/hierynomus/smbj/smb2/SMB2CreateOptions;

    .line 5
    invoke-static {v0, v1}, Ljava/util/EnumSet;->of(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;

    move-result-object v8

    const/4 v5, 0x0

    move-object v1, p0

    move-object v2, p1

    .line 6
    invoke-virtual/range {v1 .. v8}, Les/wd0;->a(Ljava/lang/String;JLjava/util/EnumSet;Ljava/util/EnumSet;Lcom/hierynomus/smbj/smb2/SMB2CreateDisposition;Ljava/util/EnumSet;)Lcom/hierynomus/smbj/smb2/a;

    move-result-object p1

    .line 7
    new-instance v0, Les/ud0$a;

    invoke-direct {v0, p1}, Les/ud0$a;-><init>(Lcom/hierynomus/smbj/smb2/a;)V

    return-object v0
.end method

.method public a(Les/ud0$a;)V
    .locals 0

    if-eqz p1, :cond_0

    .line 10
    :try_start_0
    invoke-virtual {p1}, Les/ud0$a;->a()Lcom/hierynomus/smbj/smb2/a;

    move-result-object p1

    invoke-virtual {p0, p1}, Les/wd0;->a(Lcom/hierynomus/smbj/smb2/a;)V
    :try_end_0
    .catch Lcom/hierynomus/smbj/transport/TransportException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Lcom/hierynomus/smbj/common/SMBApiException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 11
    invoke-virtual {p1}, Ljava/lang/RuntimeException;->printStackTrace()V

    goto :goto_0

    :catch_1
    move-exception p1

    .line 12
    invoke-virtual {p1}, Ljava/io/IOException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public a(Les/ud0$a;[BII)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/smbj/common/SMBApiException;,
            Ljava/io/IOException;
        }
    .end annotation

    .line 8
    new-instance v0, Ljava/io/ByteArrayInputStream;

    invoke-direct {v0, p2, p3, p4}, Ljava/io/ByteArrayInputStream;-><init>([BII)V

    .line 9
    invoke-virtual {p0, v0, p1}, Les/ud0;->a(Ljava/io/InputStream;Les/ud0$a;)V

    return-void
.end method

.method public a(Ljava/io/InputStream;Les/ud0$a;)V
    .locals 23
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;,
            Lcom/hierynomus/smbj/common/SMBApiException;
        }
    .end annotation

    move-object/from16 v0, p0

    const/16 v1, 0x2000

    new-array v1, v1, [B

    .line 31
    iget-object v2, v0, Les/wd0;->a:Les/xd0;

    invoke-virtual {v2}, Les/xd0;->a()Les/qd0;

    move-result-object v16

    .line 32
    invoke-virtual/range {v16 .. v16}, Les/qd0;->a()Lcom/hierynomus/smbj/connection/a;

    move-result-object v14

    const/4 v2, 0x0

    move-object/from16 v12, p1

    const/4 v15, 0x0

    .line 33
    :goto_0
    invoke-virtual {v12, v1}, Ljava/io/InputStream;->read([B)I

    move-result v13

    const/4 v2, -0x1

    if-eq v13, v2, :cond_1

    .line 34
    new-instance v10, Lcom/hierynomus/smbj/smb2/messages/s;

    invoke-virtual {v14}, Lcom/hierynomus/smbj/connection/a;->i()Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    move-result-object v3

    invoke-virtual/range {p2 .. p2}, Les/ud0$a;->a()Lcom/hierynomus/smbj/smb2/a;

    move-result-object v4

    .line 35
    invoke-virtual/range {v16 .. v16}, Les/qd0;->b()J

    move-result-wide v5

    iget-object v2, v0, Les/wd0;->a:Les/xd0;

    invoke-virtual {v2}, Les/xd0;->b()J

    move-result-wide v7

    int-to-long v11, v13

    move/from16 v18, v13

    move-object/from16 v17, v14

    int-to-long v13, v15

    const-wide/16 v19, 0x0

    move-object v2, v10

    move-object v9, v1

    move-object/from16 v21, v10

    move-wide v10, v11

    move-wide v12, v13

    move-object/from16 v22, v1

    move-object/from16 v1, v17

    move/from16 v17, v15

    move-wide/from16 v14, v19

    invoke-direct/range {v2 .. v15}, Lcom/hierynomus/smbj/smb2/messages/s;-><init>(Lcom/hierynomus/smbj/smb2/SMB2Dialect;Lcom/hierynomus/smbj/smb2/a;JJ[BJJJ)V

    move-object/from16 v2, v21

    .line 36
    invoke-virtual {v1, v2}, Lcom/hierynomus/smbj/connection/a;->b(Lcom/hierynomus/smbj/smb2/d;)Ljava/util/concurrent/Future;

    move-result-object v2

    .line 37
    sget-object v3, Lcom/hierynomus/smbj/transport/TransportException;->Wrapper:Les/fd0;

    invoke-static {v2, v3}, Les/gd0;->a(Ljava/util/concurrent/Future;Les/fd0;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/hierynomus/smbj/smb2/messages/t;

    .line 38
    invoke-virtual {v2}, Lcom/hierynomus/smbj/smb2/d;->a()Lcom/hierynomus/smbj/smb2/c;

    move-result-object v3

    invoke-virtual {v3}, Lcom/hierynomus/smbj/smb2/c;->f()Lcom/hierynomus/mserref/NtStatus;

    move-result-object v3

    sget-object v4, Lcom/hierynomus/mserref/NtStatus;->STATUS_SUCCESS:Lcom/hierynomus/mserref/NtStatus;

    if-ne v3, v4, :cond_0

    add-int v15, v17, v18

    move-object/from16 v12, p1

    move-object v14, v1

    move-object/from16 v1, v22

    goto :goto_0

    .line 39
    :cond_0
    new-instance v1, Lcom/hierynomus/smbj/common/SMBApiException;

    invoke-virtual {v2}, Lcom/hierynomus/smbj/smb2/d;->a()Lcom/hierynomus/smbj/smb2/c;

    move-result-object v2

    invoke-virtual {v2}, Lcom/hierynomus/smbj/smb2/c;->f()Lcom/hierynomus/mserref/NtStatus;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "Write failed for "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/hierynomus/smbj/common/SMBApiException;-><init>(Lcom/hierynomus/mserref/NtStatus;Ljava/lang/String;)V

    throw v1

    :cond_1
    return-void
.end method

.method public a(Ljava/io/OutputStream;Les/ud0$a;)V
    .locals 12
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;,
            Lcom/hierynomus/smbj/common/SMBApiException;
        }
    .end annotation

    .line 40
    iget-object v0, p0, Les/wd0;->a:Les/xd0;

    invoke-virtual {v0}, Les/xd0;->a()Les/qd0;

    move-result-object v0

    .line 41
    invoke-virtual {v0}, Les/qd0;->a()Lcom/hierynomus/smbj/connection/a;

    move-result-object v1

    .line 42
    new-instance v11, Lcom/hierynomus/smbj/smb2/messages/l;

    invoke-virtual {v1}, Lcom/hierynomus/smbj/connection/a;->i()Lcom/hierynomus/smbj/smb2/SMB2Dialect;

    move-result-object v3

    invoke-virtual {p2}, Les/ud0$a;->a()Lcom/hierynomus/smbj/smb2/a;

    move-result-object v4

    .line 43
    invoke-virtual {v0}, Les/qd0;->b()J

    move-result-wide v5

    iget-object p2, p0, Les/wd0;->a:Les/xd0;

    invoke-virtual {p2}, Les/xd0;->b()J

    move-result-wide v7

    const-wide/16 v9, 0x0

    move-object v2, v11

    invoke-direct/range {v2 .. v10}, Lcom/hierynomus/smbj/smb2/messages/l;-><init>(Lcom/hierynomus/smbj/smb2/SMB2Dialect;Lcom/hierynomus/smbj/smb2/a;JJJ)V

    .line 44
    invoke-virtual {v1, v11}, Lcom/hierynomus/smbj/connection/a;->b(Lcom/hierynomus/smbj/smb2/d;)Ljava/util/concurrent/Future;

    move-result-object p2

    .line 45
    sget-object v0, Lcom/hierynomus/smbj/transport/TransportException;->Wrapper:Les/fd0;

    invoke-static {p2, v0}, Les/gd0;->a(Ljava/util/concurrent/Future;Les/fd0;)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/hierynomus/smbj/smb2/messages/m;

    .line 46
    invoke-virtual {p2}, Lcom/hierynomus/smbj/smb2/messages/m;->c()[B

    move-result-object v0

    .line 47
    invoke-virtual {p1, v0}, Ljava/io/OutputStream;->write([B)V

    .line 48
    invoke-virtual {p2}, Lcom/hierynomus/smbj/smb2/d;->a()Lcom/hierynomus/smbj/smb2/c;

    move-result-object p1

    invoke-virtual {p1}, Lcom/hierynomus/smbj/smb2/c;->f()Lcom/hierynomus/mserref/NtStatus;

    move-result-object p1

    sget-object v0, Lcom/hierynomus/mserref/NtStatus;->STATUS_SUCCESS:Lcom/hierynomus/mserref/NtStatus;

    if-ne p1, v0, :cond_0

    return-void

    .line 49
    :cond_0
    new-instance p1, Lcom/hierynomus/smbj/common/SMBApiException;

    invoke-virtual {p2}, Lcom/hierynomus/smbj/smb2/d;->a()Lcom/hierynomus/smbj/smb2/c;

    move-result-object p2

    invoke-virtual {p2}, Lcom/hierynomus/smbj/smb2/c;->f()Lcom/hierynomus/mserref/NtStatus;

    move-result-object p2

    const-string v0, "Read failed"

    invoke-direct {p1, p2, v0}, Lcom/hierynomus/smbj/common/SMBApiException;-><init>(Lcom/hierynomus/mserref/NtStatus;Ljava/lang/String;)V

    throw p1
.end method

.method public a(Les/ud0$a;[B)[B
    .locals 12
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/smbj/transport/TransportException;,
            Lcom/hierynomus/smbj/common/SMBApiException;
        }
    .end annotation

    .line 13
    sget-object v0, Lcom/hierynomus/msdtyp/AccessMask;->SYNCHRONIZE:Lcom/hierynomus/msdtyp/AccessMask;

    const/16 v1, 0x8

    new-array v1, v1, [Lcom/hierynomus/msdtyp/AccessMask;

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->READ_CONTROL:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x0

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_WRITE_ATTRIBUTES:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x1

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_READ_ATTRIBUTES:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x2

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_WRITE_EA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x3

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_READ_EA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x4

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_APPEND_DATA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x5

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_WRITE_DATA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x6

    aput-object v2, v1, v3

    sget-object v2, Lcom/hierynomus/msdtyp/AccessMask;->FILE_READ_DATA:Lcom/hierynomus/msdtyp/AccessMask;

    const/4 v3, 0x7

    aput-object v2, v1, v3

    .line 14
    invoke-static {v0, v1}, Ljava/util/EnumSet;->of(Ljava/lang/Enum;[Ljava/lang/Enum;)Ljava/util/EnumSet;

    move-result-object v7

    sget-object v0, Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;->FILE_SHARE_DELETE:Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;

    sget-object v1, Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;->FILE_SHARE_WRITE:Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;

    sget-object v2, Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;->FILE_SHARE_READ:Lcom/hierynomus/smbj/smb2/SMB2ShareAccess;

    .line 15
    invoke-static {v0, v1, v2}, Ljava/util/EnumSet;->of(Ljava/lang/Enum;Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;

    move-result-object v9

    sget-object v10, Lcom/hierynomus/smbj/smb2/SMB2CreateDisposition;->FILE_OPEN:Lcom/hierynomus/smbj/smb2/SMB2CreateDisposition;

    sget-object v0, Lcom/hierynomus/smbj/smb2/SMB2CreateOptions;->FILE_NON_DIRECTORY_FILE:Lcom/hierynomus/smbj/smb2/SMB2CreateOptions;

    sget-object v1, Lcom/hierynomus/smbj/smb2/SMB2CreateOptions;->FILE_OPEN_NO_RECALL:Lcom/hierynomus/smbj/smb2/SMB2CreateOptions;

    .line 16
    invoke-static {v0, v1}, Ljava/util/EnumSet;->of(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;

    move-result-object v11

    const/4 v8, 0x0

    move-object v4, p0

    move-object v5, p1

    move-object v6, p2

    .line 17
    invoke-direct/range {v4 .. v11}, Les/ud0;->a(Les/ud0$a;[BLjava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;Lcom/hierynomus/smbj/smb2/SMB2CreateDisposition;Ljava/util/EnumSet;)[B

    move-result-object p1

    return-object p1
.end method

.method public b(Les/ud0$a;)[B
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/smbj/common/SMBApiException;,
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance v0, Ljava/io/ByteArrayOutputStream;

    invoke-direct {v0}, Ljava/io/ByteArrayOutputStream;-><init>()V

    .line 2
    invoke-virtual {p0, v0, p1}, Les/ud0;->a(Ljava/io/OutputStream;Les/ud0$a;)V

    .line 3
    invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B

    move-result-object p1

    return-object p1
.end method

.method public d()Les/ud0$a;
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/smbj/transport/TransportException;,
            Lcom/hierynomus/smbj/common/SMBApiException;
        }
    .end annotation

    const-string v0, "srvsvc"

    .line 1
    invoke-virtual {p0, v0}, Les/ud0;->a(Ljava/lang/String;)Les/ud0$a;

    move-result-object v0

    return-object v0
.end method
